package cn.zzuli.springcloud.dao;

import cn.zzuli.springcloud.domain.Order;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @Date: 2020/12/26 18:33
 * @Author: 绯色下午茶
 * @Description:
 */
@Mapper
public interface OrderDao {
//    新建订单
    public void create(Order order);

//    修改订单状态从0改为1
    void update(@Param("userID")Long userId,@Param("status")Integer status);
}
